package com.zt.bigdata.spark.dataalgorithms.chapter05

import com.zt.bigdata.spark.Constant

/**
  *
  */
object Main {
  def main(args: Array[String]): Unit = {
    var parameter = Parameter("local[2]",
      s"${Constant.BASE_PATH}/chapter05input.txt")
    new RelativeFrequency()
      .setAppName("RelativeFrequency")
      .process(parameter)


  }
}
